package com.itheima.tlias84.dto;

import com.itheima.tlias84.entity.Expr;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Pattern;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 根据id查询员工详情（返回）
 * 页面用到啥，就查啥
 */
@Data
public class SelectEmpDetailDTO {
    private int id;
    private String username;
    private String name;
    private String phone;
    private int gender;
    private int job;
    private String image;
    private LocalDate entryDate;
    private Integer deptId;
    private Integer salary;
//    private LocalDateTime createTime;
//    private LocalDateTime updateTime;
    //工作经历
    private List<Expr> exprList;

}
